import os
import zipfile

filePath = '/Users/cai/Downloads/vysorprowushiliu.rar'

zipfiles = zipfile.ZipFile(filePath)
zipfiles.extractall(os.path.join(filePath, os.path.splitext(filePath)[0]))
zipfiles.close()
print("unzip finish")
